#import "ALTemplateSelectorWindow.h"



#pragma mark Constants


#pragma mark -
#pragma mark Class Globals


#pragma mark -
@interface ALTemplateSelectorWindow (ALTemplateSelectorWindowPrivateMethods)

@end


#pragma mark -
@implementation ALTemplateSelectorWindow


#pragma mark -
#pragma mark Initialization

-(id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation {
	if (!(self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:bufferingType defer:deferCreation]))
		return nil;
	[self setHasShadow:YES];
	[self setBackgroundColor:[NSColor clearColor]];
	[self setLevel:NSFloatingWindowLevel];
	[self setOpaque:NO];
	[self setShowsResizeIndicator:NO];
	[self setMovable:NO];
	[self setExcludedFromWindowsMenu:YES];
	
	return self;
}


#pragma mark -
#pragma mark Window properties

-(BOOL)canBecomeKeyWindow {
	return YES;
}

@end
